#ifndef CLINEEDIT_H
#define CLINEEDIT_H
#include <QLineEdit>
#include <QMouseEvent>


class CLineEdit : public QLineEdit
{
    Q_OBJECT
public:
    explicit CLineEdit(QWidget *parent = nullptr);
    CLineEdit();

protected:
    //重写mousePressEvent事件
    virtual void mousePressEvent(QMouseEvent *event);

signals:
    void clicked();

};

#endif // CLINEEDIT_H
